package mc.support.taobao.api;

import com.taobao.api.TaobaoRequest;
import com.taobao.api.request.SellercatsListGetRequest;
import com.taobao.api.response.SellercatsListGetResponse;

/**
 * Created with IntelliJ IDEA. <br/>
 * User: francis    <br/>
 * Date: 13-11-21    <br/>
 * Time: 19:00  <br/>
 */
public class GetSellerCatsReq extends AbstractReq<GetSellerCatsReq, SellercatsListGetResponse> {

    private String nick;

    @Override
    protected TaobaoRequest toRequest() {
        SellercatsListGetRequest req = new SellercatsListGetRequest();
        if ( null != nick ) {
            req.setNick( nick );
        }

        return req;
    }

    public GetSellerCatsReq nick(String nick) {
        this.nick = nick;
        return this;
    }


}
